Understand
Badami was the capital of the Early Chalukyas, who ruled much of Karnataka and Andhra Pradesh between the 6th and 8th centuries. It was founded in 540 A.D. by Pulakesi I 535-566 AD, an early ruler of the Chalukyas. His sons Kirthivarman 567-598 AD and his brother Mangalesha I 598-610 AD constructed the cave temples. The greatest among them was Pulakeshi II 610-642 AD who defeated many kings including Pallava king Mahendra Verman I and extended the kingdom.